<nav class="navbar navbar-inverse navbar-fixed-top" ng-controller="NavCtrl">
  <div class="container-fluid">
	<div class="navbar-header">
	  <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
		<span class="sr-only">Toggle navigation</span>
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
	  </button>
	  <a class="navbar-brand" href="#">POPASP 管理平台</a>
	</div>
	<div id="navbar" class="navbar-collapse collapse">
	  <ul class="nav navbar-nav navbar-right">
		<li><a href=""><span class="glyphicon glyphicon-user" aria-hidden="true"></span><%=session("admin")("username") %>-管理员</a></li>
		<li><a href="<{$site_url}>" target="_blank"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>首页</a></li>
		<li><a ng-href="" ng-click="logout()" style="cursor:pointer"><span class="glyphicon glyphicon-log-out" aria-hidden="true"></span>退出</a></li>
	  </ul>
	  <form class="navbar-form navbar-right" ng-submit="submit()">
		<input type="text" class="form-control" placeholder="文章内容中搜索" ng-model="navSearch">
	  </form>
	</div>
  </div>
</nav>